package com.etime.shycourse.dto;

import com.etime.shycourse.pojo.ActiveLog;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName : ActivelogDto  //类名
 * @Description : 活动参与记录dto  //描述
 * @Author : W //作者
 * @Date: 2022/3/31  8:58
 */
public class ActivelogDto extends ActiveLog {
    //活动标题
    private String activetitle;
    //头像
    private String showpic;

    //时间区间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date one;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date two;

    public String getActivetitle() {
        return activetitle;
    }

    public void setActivetitle(String activetitle) {
        this.activetitle = activetitle;
    }

    public String getShowpic() {
        return showpic;
    }

    public void setShowpic(String showpic) {
        this.showpic = showpic;
    }

    public Date getOne() {
        return one;
    }

    public void setOne(Date one) {
        this.one = one;
    }

    public Date getTwo() {
        return two;
    }

    public void setTwo(Date two) {
        this.two = two;
    }
}

